package com.base.service;

import java.util.List;

import com.common.bean.Menuinfo;
import com.common.util.PagerModel;

public interface MenuService {
	public void addMenu(Menuinfo menuinfo);
	
	public void addMenu(Menuinfo menuinfo,long menupid);
	
	public void removeMenu(Long menuid);
	
	public Menuinfo findMenuinfo(Long menuid);
	
	public List<Menuinfo> findAllMenuinfo();
	
	public List<Menuinfo> findChildMenuinfo(long menupid);
	
	public PagerModel findMenuinfo( int offset , int pagesize);
	
	public PagerModel findMenuinfo(long menupid, int offset , int pagesize);
	
	public void updateMenuinfo(Menuinfo menuinfo);
	
}
